package com.sugon.modules.mold.consts;

/**
 * @author ： YuXD
 * @description： 模具状态变更动作
 * 即哪些行为记录模具状态发生变化
 * 目前仅有试模、维修、维护
 * @date ： 2021-04-05 上午 10:24
 * @version: 1.0
 */
public enum MoldStatusChangeAction {

    SHIMO(MoldState.SHIMO, "试模"), REPAIR(MoldState.WEIXIU, "维修"), MAINTENANCE(MoldState.WEIHU, "维护");

    private MoldState state;

    private String desc;


    MoldStatusChangeAction(MoldState state, String desc) {
        this.state = state;
        this.desc = desc;
    }

    public MoldState getMoldState() {
        return state;
    }

    public String getDesc() {
        return desc;
    }
}
